package com.dgt.trade.dao;

import com.dgt.trade.entitys.Promotion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PromotionDao {
    List<Promotion> selectPromotionById(@Param("id")int id );
    int insertPromotion(Promotion promotion);
}
